# !/usr/bin/python3
# -*- coding: utf-8 -*-
# @Time    : 2021/10/20 11:35
# @Author  : zuodengbo
# @Email   : zuodb@amoydx.com
# @File    : migrate
# @Software: PyCharm
from aerich import Command
from config import db_config

command = Command(tortoise_config=db_config, app='models')
await command.init()
await command.migrate("test")